package com.igeek.boot.entity;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

/**
 * *User 訫
 * *Description TODO
 * *Date 2024/8/21
 **/

@ToString
@AllArgsConstructor
@NoArgsConstructor
public class UserCustom extends User {

    //扩展字段(数据库中没有的字段)
    private List<Orders> ordersList;

    public List<Orders> getOrdersList() {
        return ordersList;
    }

    public void setOrdersList(List<Orders> ordersList) {
        this.ordersList = ordersList;
    }
}
